<?php

namespace app\api\request\mine;

use think\Validate;

class MiningRequest extends Validate
{
    protected $rule = [
        'coin_id' => 'require',
        'id' => 'require',
    ];

    protected $scene = [
        'list' => ['coin_id'],
        'info' => ['id'],
        'earnings' => ['id'],
        'allMining' => ['id'],
    ];
}